from django.urls import path
from .import views

app_name = "order"

urlpatterns = [ 
    # path('add_cart/', views.DmallCartCreateView.as_view(), name="add_cart"),
    # path('cart_list/', views.DmallCartListView.as_view(), name="cart_list"),
    # path('cart_create/', views.DmallCartCreateView.as_view(), name="cart_create"),
    # path('cart_delete/<int:pk>/', views.DmallCartDeleteView.as_view(), name="cart_delete"),
    # product
    path('shoping_cart_list/', views.DmallShopingCartListView.as_view(), name="shoping_cart_list"),
    path('shoping_cart_create/', views.DmallShopingCartCreateView.as_view(), name="shoping_cart_create"),
    path('shoping_cart_delete/<int:pk>/', views.DmallShopingCartDeleteView.as_view(), name="shoping_cart_delete"),
    path('buynow/<int:pk>/', views.DmallBuyNowView.as_view(), name="buynow")
    # path('buynow/', views.DmallBuyNowView.as_view(), name="buynow")
]